<header id="topbar" class="affix">
    <div class="topbar-left">
        <ol class="breadcrumb">
            <li class="crumb-active">
                <a href="<%= window.location.href %>">详情</a>
            </li>
            <li class="crumb-trail">编辑</li>
        </ol>
    </div>
    <div class="pull-right">
        <a href="javascript:;" class="btn btn-primary btn-sm light fw600 ml10" id='save'><span
                class="fa fa-save"></span>保存</a>
    </div>
</header>

<section id="content">
    <div class="panel-body">
        <h3>说明: </h3>
        <p><b>1. 如果发送时间小于当前时间则表示立即发送.</b></p>
        <p><b>2. 同一推送多次保存，仅发送一次，无论作何修改.</b></p>
        <p><b>3. 如果有填写错误，要取消发送，请前往信鸽控制台操作.</b></p>
    </div>
    <div class="panel">
        <form class="form-horizontal">
            <div class="form-group">
                <label class="col-md-1 control-label">标题：</label>
                <div class="col-md-4">
                    <input type="text" data-field="title" class="form-control" value="<%= info.title %>" required>
                </div>
            </div>
            <div class="form-group">
                <label for="inputContent" class="col-md-1 control-label">内容:</label>
                <div class="col-md-9">
                    <input type="text" data-field="content" class="form-control" value="<%= info.content %>" required>
                </div>
            </div>
            <div class="form-group">
                <label for="inputCmd" class="col-md-1 control-label">cmd:</label>
                <div class="col-md-9">
                    <input type="text" data-field="cmd" class="form-control" value="<%= info.cmd %>">
                </div>
            </div>
            <div class="form-group">
                <label for="inputSendTime" class="col-md-1 control-label">发送时间:</label>
                <div class="col-md-4">
                    <input id="inputSendTime" type="text" class="form-control date-box" data-field="send_time"
                           value="<%= info.send_time %>" required>
                </div>
            </div>
            <div class="form-group">
                <label for="inputPushDevice" class="col-md-1 control-label">发送设备:</label>
                <div class="col-md-4">
                    <select id="inputPushDevice" data-field="push_device" data-type="int" class="form-control multiselect">
                        <option value="0">全部</option>
                        <option value="1">安卓</option>
                        <option value="2">IOS</option>
                    </select>
                </div>
            </div>
        </form>
    </div>
</section>